package com.tang.model.bridge.course;

/**
 * @Author tangyuan2meicloud.com
 * @DATE 2021/8/27 22:58
 * @Desc
 * @Remarks
 */
public abstract class AbstractCourse implements ICourse {
    private INote note;
    private IVedio vedio;

    public AbstractCourse() {
        note = provideNote();
        vedio = provideVedio();
    }

    protected abstract INote provideNote();

    protected abstract IVedio provideVedio();

    @Override
    public INote getNote() {
        return note;
    }

    @Override
    public IVedio getVedio() {
        return vedio;
    }
}
